package com.aisino.mvpdesignproject2.ui.contract;

public interface BaseContract<T> {
    interface Model {
        void getAllDate(Presenter presenter);
    }

    interface View {
        <T> void loadSuccess(T t);

        void loadFail(String msg);
    }

    interface Presenter {
        <T> void onSuccess(T t);

        void onFail(String msg);
    }
}
